package javacafe.dto.bbs;

public class BbsDTO {
	
	private int bbs_no;
	private String bbs_title;
	private String bbs_content;
	private String bbs_date;	
	private int bbs_delflag;
	
	
	public int getBbs_no() {
		return bbs_no;
	}
	public void setBbs_no(int bbsNo) {
		bbs_no = bbsNo;
	}
	public String getBbs_title() {
		return bbs_title;
	}
	public void setBbs_title(String bbsTitle) {
		bbs_title = bbsTitle;
	}
	public String getBbs_content() {
		return bbs_content;
	}
	public void setBbs_content(String bbsContent) {
		bbs_content = bbsContent;
	}
	public String getBbs_date() {
		return bbs_date;
	}
	public void setBbs_date(String bbsDate) {
		bbs_date = bbsDate;
	}
	public int getBbs_delflag() {
		return bbs_delflag;
	}
	public void setBbs_delflag(int bbsDelflag) {
		bbs_delflag = bbsDelflag;
	}
	
	
	public BbsDTO() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
	public BbsDTO(int bbsNo, String bbsTitle, String bbsContent,
			String bbsDate, int bbsDelflag) {
		super();
		bbs_no = bbsNo;
		bbs_title = bbsTitle;
		bbs_content = bbsContent;
		bbs_date = bbsDate;
		bbs_delflag = bbsDelflag;
	}
	
	
	@Override
	public String toString() {
		return "BbsDTO [bbs_content=" + bbs_content + ", bbs_date=" + bbs_date
				+ ", bbs_delflag=" + bbs_delflag + ", bbs_no=" + bbs_no
				+ ", bbs_title=" + bbs_title + "]";
	}
	
	
	
	
	
	
}
